<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>CGSG - SceneGraph.js</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="../../logo/logoCGSG_256x57.png" title="SceneGraph.js"></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: 2.2.0</em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/CGSG.html">CGSG</a></li>
            
                <li><a href="../classes/CGSGAccordion.html">CGSGAccordion</a></li>
            
                <li><a href="../classes/CGSGAnimationManager.html">CGSGAnimationManager</a></li>
            
                <li><a href="../classes/CGSGAnimationMethod.html">CGSGAnimationMethod</a></li>
            
                <li><a href="../classes/CGSGBindEntry.html">CGSGBindEntry</a></li>
            
                <li><a href="../classes/CGSGButtonMode.html">CGSGButtonMode</a></li>
            
                <li><a href="../classes/CGSGCollisionGhostOnDemandTester.html">CGSGCollisionGhostOnDemandTester</a></li>
            
                <li><a href="../classes/CGSGCollisionManager.html">CGSGCollisionManager</a></li>
            
                <li><a href="../classes/CGSGCollisionMethod.html">CGSGCollisionMethod</a></li>
            
                <li><a href="../classes/CGSGCollisionRegionTester.html">CGSGCollisionRegionTester</a></li>
            
                <li><a href="../classes/CGSGCollisionTesterFactory.html">CGSGCollisionTesterFactory</a></li>
            
                <li><a href="../classes/CGSGColor.html">CGSGColor</a></li>
            
                <li><a href="../classes/CGSGCSSManager.html">CGSGCSSManager</a></li>
            
                <li><a href="../classes/CGSGDimension.html">CGSGDimension</a></li>
            
                <li><a href="../classes/CGSGEvent.html">CGSGEvent</a></li>
            
                <li><a href="../classes/CGSGEventManager.html">CGSGEventManager</a></li>
            
                <li><a href="../classes/CGSGHandleBox.html">CGSGHandleBox</a></li>
            
                <li><a href="../classes/CGSGImgManager.html">CGSGImgManager</a></li>
            
                <li><a href="../classes/CGSGInterpolator.html">CGSGInterpolator</a></li>
            
                <li><a href="../classes/CGSGInterpolatorLinear.html">CGSGInterpolatorLinear</a></li>
            
                <li><a href="../classes/CGSGInterpolatorTCB.html">CGSGInterpolatorTCB</a></li>
            
                <li><a href="../classes/CGSGKeyFrame.html">CGSGKeyFrame</a></li>
            
                <li><a href="../classes/CGSGMap.html">CGSGMap</a></li>
            
                <li><a href="../classes/CGSGMask.html">CGSGMask</a></li>
            
                <li><a href="../classes/CGSGMaskCache.html">CGSGMaskCache</a></li>
            
                <li><a href="../classes/CGSGMaskClip.html">CGSGMaskClip</a></li>
            
                <li><a href="../classes/CGSGMath.html">CGSGMath</a></li>
            
                <li><a href="../classes/CGSGNode.html">CGSGNode</a></li>
            
                <li><a href="../classes/CGSGNodeButton.html">CGSGNodeButton</a></li>
            
                <li><a href="../classes/CGSGNodeCircle.html">CGSGNodeCircle</a></li>
            
                <li><a href="../classes/CGSGNodeColorPicker.html">CGSGNodeColorPicker</a></li>
            
                <li><a href="../classes/CGSGNodeCurveTCB.html">CGSGNodeCurveTCB</a></li>
            
                <li><a href="../classes/CGSGNodeDomElement.html">CGSGNodeDomElement</a></li>
            
                <li><a href="../classes/CGSGNodeEllipse.html">CGSGNodeEllipse</a></li>
            
                <li><a href="../classes/CGSGNodeImage.html">CGSGNodeImage</a></li>
            
                <li><a href="../classes/CGSGNodeLine.html">CGSGNodeLine</a></li>
            
                <li><a href="../classes/CGSGNodeSlider.html">CGSGNodeSlider</a></li>
            
                <li><a href="../classes/CGSGNodeSliderHandle.html">CGSGNodeSliderHandle</a></li>
            
                <li><a href="../classes/CGSGNodeSprite.html">CGSGNodeSprite</a></li>
            
                <li><a href="../classes/CGSGNodeSquare.html">CGSGNodeSquare</a></li>
            
                <li><a href="../classes/CGSGNodeTabMenu.html">CGSGNodeTabMenu</a></li>
            
                <li><a href="../classes/CGSGNodeText.html">CGSGNodeText</a></li>
            
                <li><a href="../classes/CGSGNodeWebview.html">CGSGNodeWebview</a></li>
            
                <li><a href="../classes/CGSGParticle.html">CGSGParticle</a></li>
            
                <li><a href="../classes/CGSGParticleEmitter.html">CGSGParticleEmitter</a></li>
            
                <li><a href="../classes/CGSGParticleSystem.html">CGSGParticleSystem</a></li>
            
                <li><a href="../classes/CGSGPickNodeMethod.html">CGSGPickNodeMethod</a></li>
            
                <li><a href="../classes/CGSGPosition.html">CGSGPosition</a></li>
            
                <li><a href="../classes/CGSGRegion.html">CGSGRegion</a></li>
            
                <li><a href="../classes/CGSGRotation.html">CGSGRotation</a></li>
            
                <li><a href="../classes/CGSGScale.html">CGSGScale</a></li>
            
                <li><a href="../classes/CGSGSceneGraph.html">CGSGSceneGraph</a></li>
            
                <li><a href="../classes/CGSGSection.html">CGSGSection</a></li>
            
                <li><a href="../classes/CGSGTimeline.html">CGSGTimeline</a></li>
            
                <li><a href="../classes/CGSGTraverser.html">CGSGTraverser</a></li>
            
                <li><a href="../classes/CGSGVector2D.html">CGSGVector2D</a></li>
            
                <li><a href="../classes/CGSGView.html">CGSGView</a></li>
            
                <li><a href="../classes/CGSGWEBVIEWMODE.html">CGSGWEBVIEWMODE</a></li>
            
                <li><a href="../classes/CGSGWrapMode.html">CGSGWrapMode</a></li>
            
                <li><a href="../classes/GLOBAL_CONSTANTS.html">GLOBAL_CONSTANTS</a></li>
            
                <li><a href="../classes/GLOBAL_METHODS.html">GLOBAL_METHODS</a></li>
            
                <li><a href="../classes/GLOBAL_PROPERTIES.html">GLOBAL_PROPERTIES</a></li>
            
                <li><a href="../classes/UTIL_ARRAY.html">UTIL_ARRAY</a></li>
            
                <li><a href="../classes/WUICCGSGNodeImageFactory.html">WUICCGSGNodeImageFactory</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
                <li><a href="../modules/Animation.html">Animation</a></li>
            
                <li><a href="../modules/Collision.html">Collision</a></li>
            
                <li><a href="../modules/Math.html">Math</a></li>
            
                <li><a href="../modules/Node.html">Node</a></li>
            
                <li><a href="../modules/ParticleSystem.html">ParticleSystem</a></li>
            
                <li><a href="../modules/Scene.html">Scene</a></li>
            
                <li><a href="../modules/Util.html">Util</a></li>
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1>CGSG Class</h1>
<div class="box meta">
    

    

    
        <div class="foundat">
            Defined in: <a href="../files/src_globals.js.html#l77"><code>src&#x2F;globals.js:77</code></a>
        </div>
    

    
        
            Module: <a href="../modules/Util.html">Util</a>
        
    

    
</div>



<div class="box intro">
    <p>Global properties for the current scene</p>

</div>



<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

        
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
        
        
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
        
        
        
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

            
                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods">
                        
                            <li class="index-item method">
                                <a href="#method_setCollisionMethod">setCollisionMethod</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties">
                        
                            <li class="index-item property">
                                <a href="#property_animationManager">animationManager</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_canvas">canvas</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_cgsgEventTypes">cgsgEventTypes</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_collisionTestFactory">collisionTestFactory</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_context">context</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_currentFrame">currentFrame</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_displayRatio">displayRatio</a>

                                
                                    <span class="flag static">static</span>
                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_eventManager">eventManager</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_fps">fps</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_framerateDelay">framerateDelay</a>

                                
                                
                            </li>
                        
                            <li class="index-item property public">
                                <a href="#property_ghostColor">ghostColor</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_ghostContext">ghostContext</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_globalDetectSelectionThreshold">globalDetectSelectionThreshold</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_isBoundingBoxOnTop">isBoundingBoxOnTop</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property_listTimelines">listTimelines</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_maxFramerate">maxFramerate</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_performanceKeys">performanceKeys</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_resizeHandleThreshold">resizeHandleThreshold</a>

                                
                                    <span class="flag static">static</span>
                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_sceneGraph">sceneGraph</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_selectedNodes">selectedNodes</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_version">version</a>

                                
                                    <span class="flag static">static</span>
                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            

            
        </div>

        
            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method_setCollisionMethod" class="method item">
    <h3 class="name"><code>setCollisionMethod</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>method</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l242"><code>src&#x2F;globals.js:242</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Redefines the collision method</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">method</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
            </div>
        

        
            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                
                    <div id="property_animationManager" class="property item">
    <h3 class="name"><code>animationManager</code></h3>
    <span class="type"><a href="../classes/CGSGAnimationManager.html" class="crosslink">CGSGAnimationManager</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l253"><code>src&#x2F;globals.js:253</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Animation manager</p>

    </div>

    

    

    
</div>

                
                    <div id="property_canvas" class="property item">
    <h3 class="name"><code>canvas</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l127"><code>src&#x2F;globals.js:127</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The canvas container for this scene</p>

    </div>

    

    

    
</div>

                
                    <div id="property_cgsgEventTypes" class="property item">
    <h3 class="name"><code>cgsgEventTypes</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l277"><code>src&#x2F;globals.js:277</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>All kinds of events defined by the CGSceneGraph framework.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_collisionTestFactory" class="property item">
    <h3 class="name"><code>collisionTestFactory</code></h3>
    <span class="type"><a href="../classes/CGSGCollisionTesterFactory.html" class="crosslink">CGSGCollisionTesterFactory</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l210"><code>src&#x2F;globals.js:210</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Instance of CollisionTesterFactory</p>

    </div>

    

    

    
</div>

                
                    <div id="property_context" class="property item">
    <h3 class="name"><code>context</code></h3>
    <span class="type">CanvasRenderingContext2D</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l135"><code>src&#x2F;globals.js:135</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The main rendering 2D context for this scene</p>

    </div>

    

    

    
</div>

                
                    <div id="property_currentFrame" class="property item">
    <h3 class="name"><code>currentFrame</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l119"><code>src&#x2F;globals.js:119</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The current frame in hte global timeline</p>

    </div>

    

    

    
</div>

                
                    <div id="property_displayRatio" class="property item">
    <h3 class="name"><code>displayRatio</code></h3>
    <span class="type"><a href="../classes/CGSGScale.html" class="crosslink">CGSGScale</a></span>

    

    

    

    
        <span class="flag static">static</span>
    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l103"><code>src&#x2F;globals.js:103</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Current display ratio</p>

    </div>

    

    

    
</div>

                
                    <div id="property_eventManager" class="property item">
    <h3 class="name"><code>eventManager</code></h3>
    <span class="type"><a href="../classes/CGSGEventManager.html" class="crosslink">CGSGEventManager</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l260"><code>src&#x2F;globals.js:260</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Event manager to use to bind events to objects.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_fps" class="property item">
    <h3 class="name"><code>fps</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l194"><code>src&#x2F;globals.js:194</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Current framerate of the application</p>

    </div>

    

    

    
</div>

                
                    <div id="property_framerateDelay" class="property item">
    <h3 class="name"><code>framerateDelay</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l174"><code>src&#x2F;globals.js:174</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Number of frames to average the FPS.
Reduce this number to get more accurate FPS</p>

    </div>

    
        <p><strong>Default:</strong> CGSG_DEFAULT_FRAMERATE_DELAY</p>
    

    

    
</div>

                
                    <div id="property_ghostColor" class="property item public">
    <h3 class="name"><code>ghostColor</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

    

    
        <span class="flag public">public</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l150"><code>src&#x2F;globals.js:150</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>the color used for the ghost mode rendering</p>

    </div>

    

    

    
</div>

                
                    <div id="property_ghostContext" class="property item">
    <h3 class="name"><code>ghostContext</code></h3>
    <span class="type">CanvasRenderingContext2D</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l142"><code>src&#x2F;globals.js:142</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The global ghost context for fake rendering</p>

    </div>

    

    

    
</div>

                
                    <div id="property_globalDetectSelectionThreshold" class="property item">
    <h3 class="name"><code>globalDetectSelectionThreshold</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l268"><code>src&#x2F;globals.js:268</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Default threshold apply to all new nodes when detecting selection.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_isBoundingBoxOnTop" class="property item">
    <h3 class="name"><code>isBoundingBoxOnTop</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l201"><code>src&#x2F;globals.js:201</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>If set to true, the bounding boxes for selected nodes will be rendered on top of the scene
If set to false, the bounding boxes for selected nodes will be rendered on top of the node</p>

    </div>

    
        <p><strong>Default:</strong> true</p>
    

    

    
</div>

                
                    <div id="property_listTimelines" class="property item private">
    <h3 class="name"><code>listTimelines</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l165"><code>src&#x2F;globals.js:165</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>List of the timelines for the animations.
A timeline consists of a list of animation keys for 1 attribute of 1 node</p>

    </div>

    

    

    
</div>

                
                    <div id="property_maxFramerate" class="property item">
    <h3 class="name"><code>maxFramerate</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l183"><code>src&#x2F;globals.js:183</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Maximum number of frames per second. Set it if you want your application to slow down.</p>

    </div>

    
        <p><strong>Default:</strong> CGSG_DEFAULT_MAX_FRAMERATE</p>
    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>//limit the fps of the application to 30
CGSG.maxFramerate : 30,</code></pre>

            </div>
        </div>
    

    
</div>

                
                    <div id="property_performanceKeys" class="property item">
    <h3 class="name"><code>performanceKeys</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l219"><code>src&#x2F;globals.js:219</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Object that defines the performance keys.
Change values to adapt your project.</p>
<p>CGSG.performanceKeys._collisionMethod :
               Key to specify collision detection mod
               Use setCollisionMethod to modify value,
               Default : CGSGCollisionMethod.REGION</p>
<p>CGSG.performanceKeys.collisionTester :
               Collision tester depending on _collisionMethod,
               Default : CGSGCollisionRegionTester</p>

    </div>

    

    

    
</div>

                
                    <div id="property_resizeHandleThreshold" class="property item">
    <h3 class="name"><code>resizeHandleThreshold</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>

    

    

    

    
        <span class="flag static">static</span>
    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l111"><code>src&#x2F;globals.js:111</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Default threshold to detect the handle boxes on a resizable node</p>

    </div>

    

    

    
</div>

                
                    <div id="property_sceneGraph" class="property item">
    <h3 class="name"><code>sceneGraph</code></h3>
    <span class="type"><a href="../classes/CGSGSceneGraph.html" class="crosslink">CGSGSceneGraph</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l95"><code>src&#x2F;globals.js:95</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The scene graph itself</p>

    </div>

    
        <p><strong>Default:</strong> null</p>
    

    

    
</div>

                
                    <div id="property_selectedNodes" class="property item">
    <h3 class="name"><code>selectedNodes</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l158"><code>src&#x2F;globals.js:158</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>List of the current selected nodes in the scenegraph.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_version" class="property item">
    <h3 class="name"><code>version</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

    

    

    

    
        <span class="flag static">static</span>
    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_globals.js.html#l87"><code>src&#x2F;globals.js:87</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Current version of the framework</p>

    </div>

    

    

    
</div>

                
            </div>
        

        

        
    </div>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
